home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / DJDEV111.ZIP / include / fcntl.h < prev    next >
C/C++ Source or Header  |  1992-03-09  |  1KB  |  45 lines

  1. /*
  2. ** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  3. **
  4. ** This file is distributed under the terms listed in the document
  5. ** "copying.dj", available from DJ Delorie at the address above.
  6. ** A copy of "copying.dj" should accompany this file; if not, a copy
  7. ** should be available from where this file was obtained.  This file
  8. ** may not be distributed without a verbatim copy of "copying.dj".
  9. **
  10. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  11. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. */
  13.  
  14. #ifndef fcntl_h
  15. #define fcntl_h
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. #define KERNEL
  22.  
  23.  
  24. #define O_RDONLY        0x0001
  25. #define O_WRONLY        0x0002
  26. #define O_RDWR          0x0004
  27. #define O_CREAT         0x0100
  28. #define O_TRUNC         0x0200
  29. #define O_EXCL          0x0400
  30. #define O_APPEND        0x0800
  31. #define O_TEXT          0x4000
  32. #define O_BINARY        0x8000
  33.  
  34. extern int _fmode;
  35.  
  36. #undef KERNEL
  37.  
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41.  
  42. #include <std.h>
  43.  
  44. #endif
  45.